<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
  <h1>测试获取请求参数</h1>
  <a href="/servletDemo/RequestDServlet?username=zhangsan&password=123">点击这里</a>
  <form action="/servletDemo/RequestDServlet" method="POST">
  用户名：<input type="text" name="username"><br/>
  密    码:<input type="password" name="password"> <br/>
  爱    好：<input type="checkbox" name="hobbies" value="book">看书
  <input type="checkbox" name="hobbies" value="swimming">游泳
  <input type="checkbox" name="hobbies" value="play">玩游戏
  <input type="checkbox" name="hobbies" value="study">学习<br/>
   <input type="submit" value="提交">
  </form>
</body>
</html>